package com.hy.util;

public class RedisConstants {
    public static final String LOGIN_CODE_KEY = "login:code:";
    public static final Long LOGIN_CODE_TTL = 2L;
    public static final Long CODE_TTL = 2L;
    public static final String LOGIN_USER_KEY = "login:token:";
    public static final Long LOGIN_USER_TTL = 60L;

    public static final Long CACHE_NULL_TTL = 2L;
    public static final String LOCK_KEY = "lock:";

    public static final String BLOG_LIKED_KEY = "blog:liked:";

    public static final String USER_SIGN_KEY = "sign:";
    public static final String USER_FIREND_KEY = "firend:";
}
